VLAN Configuration Mode Commands


VLAN Configuration Mode Commands
 
The VLAN Configuration Mode is used to create and manage Virtual LANs and their bindings between contexts.
bind interface
Configures a virtual interface to context association for the current VLAN.
Product
HA, HSGW, PDSN, P-GW, SGSN
Privilege
Security Administrator, Administrator
Syntax
[ no ] bind interface interface_name context_name
no
Indicates the binding between the virtual interface specified and the context specified is to be unbound for the current VLAN.
interface_name context_name
Specifies the name and context of the virtual interface to be bound to the context. interface_name must be an alphanumeric string of 1 through 79 characters.
context_name must refer to a previously configured context expressed as an alphanumeric string of 1 through 79 characters.
Usage
Bind a virtual interface and context to allow the VLAN to provide service.
Example
bind interface sampleVirtual sampleContext
no bind interface sampleVirtual sampleContext
end
Exits the current configuration mode and returns to the Exec mode.
Product
All
Privilege
Security Administrator, Administrator
Syntax
end
Usage
Use this command to return to the Exec mode.
exit
Exits the current mode and returns to the parent configuration mode.
Product
All
Privilege
Security Administrator, Administrator
Syntax
exit
Usage
Use this command to return to the parent configuration mode.
ingress-mode
Toggles between enabling and disabling the port ingress (incoming) mode.
Product
HA, HSGW, PDSN, P-GW, SGSN
Privilege
Security Administrator, Administrator
Syntax
[ no ] ingress-mode
no
Disables the port ingress mode.
Usage
Use this command to enable or disable the ingress mode for the port.
Example
ingress-mode
priority
Configures 802.1p VLAN priority bit for ASN-GW only.
Product
ASN-GW
Privilege
Security Administrator, Administrator
Syntax
priority value
no priority
no
Disables the setting of the 802.1p priority bit.
value
Sets the value of the 802.1p priority bit as an integer from 0 through 7, with 7 being the highest priority.
Usage
Set a value for the VLAN priority bit as used in the ANS-GW.
Refer to the ASN-GW Administration Guide for additional information on support for 802.1p.
Example
To set a VLAN priority bit value, use the following command:
priority 3
To disable the use of a VLAN priority bit, use the following command:
no priority
shutdown
Disables or enables traffic over the current VLAN.
Product
HA, HSGW, PDSN, P-GW, SGSN
Privilege
Security Administrator, Administrator
Syntax
[ no ] shutdown
no
Enables the VLAN. When omitted the VLAN is shutdown.
Usage
Shut down a VLAN.
To bring a VLAN into service, execute this command using the no keyword.
Example
To disable a VLAN from sending or receiving network traffic use the following command:
shutdown
To enable a VLAN use the following command:
no shutdown
vlan-map
Sets a single next-hop IP address so that multiple VLANs can use a single next-hop gateway. vlan-map is associated with a specific interface.
Product
HA, HSGW, PDSN, P-GW, SGSN
Privilege
Security Administrator, Administrator
Syntax
vlan-map next-hop ip_address
next-hop ip_address
Defines an IP address for the next-hop gateway.
ip_address: can be entered using IPv4 dotted-decimal or IPv6 colon-separated notation.
Usage
Use vlan-map to combine multiple VLAN links to go through a single IP address. This feature is used in conjunction with nexthop forwarding and overlapping IP pools.
After configuring the vlan-map, go to the Port Ethernet Configuration mode to attach the vlan-map to a specific VLAN.
Example
The following command sets an IPv4 for a next-hop gateway.
vlan-map next-hop 123.123.123.1
 
 

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883